-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][IMP] maintenance_project: Remove the Project > Administrator permission dependency #424
[16.0][IMP] maintenance_project: Remove the Project > Administrator permission dependency #424
Conversation
I have found one additional controversial thing, the project and task fields do not have groups set, i.e. a user without permissions in Projects can see those fields (even if they don't have a permissions error). Is it consistent that they can see them? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionally tested, but I have a question: isn't it necessary to have a migration script to unlink the group in existing databases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment. And also, should access to project (and task) fields be restricted in the other views, not only for the form
one, and for maintenance.request
views too?
@victoralmau looked at this, I should add such access restriction (not consistent, as you said), but not sure if this change could be controversial as well because a current functionality should be removed. |
@dalonsod real access is restricted by record rules, not ACLs. |
bc23738
to
5b185e5
Compare
…ion dependency TT50829
… project/task fields TT50829
…nager" to maintenance fields TT50829
5b185e5
to
3bada6c
Compare
Added extra changes and updated the PR description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
IMO this is now ready to merge |
/ocabot merge major |
On my way to merge this fine PR! |
Congratulations, your PR was merged at f254804. Thanks a lot for contributing to OCA. ❤️ |
…ipment manager group Related to OCA#424 TT50829
Changes done:
create_project_from_equipment
fields from equipments to 'Create project' buttongroups="project.group_project_user"
to project/task fieldsgroups="maintenance.group_equipment_manager"
to maintenance fieldsPlease @pedrobaeza and @carlos-lopez-tecnativa can you review it?
@Tecnativa TT50829